home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / drdtips.zip / 1303.TXT < prev    next >
Text File  |  1991-12-31  |  4KB  |  116 lines

  1. Document 1303
  2. Third Party Memory Managers
  3.  
  4.  
  5. Description:
  6.  
  7. Relocating the Kernel
  8.  
  9. When you use a memory manager from another vendor, you can gain
  10. additional conventional memory space by relocating the DR DOS
  11. kernel to upper or high memory. The third-party memory manager
  12. must support the XMS specification, and upper or high memory
  13. must be available. To relocate the kernel, insert the statement:
  14.  
  15.         DEVICE=C:\DRDOS\HIDOS.SYS
  16.  
  17. after the statement that loads the third-party memory manager.
  18.  
  19. HIDOS.SYS attempts, by default, to relocate the DR DOS kernel to
  20. upper memory. If upper memory is not supported or not available,
  21. the kernel is placed in high memory. You can force the kernel to
  22. high memory by using the following DEVICE statement:
  23.  
  24.         DEVICE=C:\DRDOS\HIDOS.SYS /BDOS=FFFF
  25.  
  26. The following examples show how and where to add the statement
  27. when loading Qualitas 386MAX or the Quarterdeck QEMM or QRAM
  28. drivers.
  29.  
  30. Qualitas 386MAX
  31.  
  32.         DEVICE=C:\386MAX\386MAX.SYS [...etc.]
  33.         DEVICE=C:\DRDOS\HIDOS.SYS [...etc.]
  34.         DEVICE=C:\386MAX\386LOAD.SYS [...etc.]
  35.  
  36. Quarterdeck QEMM.386
  37.  
  38.         DEVICE=C:\QEMM\QEMM.SYS [...etc.]
  39.         DEVICE=C:\DRDOS\HIDOS.SYS [...etc.]
  40.         DEVICE=C:\QEMM\LOADHI.SYS [...etc.]
  41.  
  42. Quarterdeck QRAM (with Intel AboveBoard)
  43.  
  44.         @SCREEN = DEVICE=C:\ABOARD\EMS.SYS AT 208 MC
  45.         DEVICE=C:\QRAM\QRAM.SYS.
  46.         DEVICE=C:\DRDOS\HIDOS.SYS
  47.         DEVICE=C:\QRAM\LOADHI.SYS [...etc.]
  48.  
  49. Note:
  50.  
  51. EMM386.SYS cannot be used with other memory managers.
  52.  
  53. When a third-party memory manager is loaded, the following
  54. config.sys statements have no effect:
  55.  
  56. HIINSTALL 
  57. HIDEVICE
  58.  
  59. If a user loads a third party memory manager which creates and
  60. makes available XMS upper memory blocks compatible with the 2.0
  61. specification, HIDOS=[ON|OFF] itself will relocate DR DOS 6.0
  62. data structures in upper memory. Those blocks will appear as
  63. "XMS UMB"'s from within any memory mapping utilities provided
  64. with the third party memory manager. However, HILOAD, HIDEVICE,
  65. and HIINSTALL commands have no effect.  Most memory managers
  66. offer equivalent commands that you can use.
  67.  
  68. Quarterdeck DESQview
  69.  
  70. When running the Quarterdeck DESQview proggram under the DR DOS
  71. 6.0 operating system, use the QEMM386.SYS driver as the primary
  72. memory management driver instead of EMM386.SYS provided with the
  73. DR DOS 6.0 operating system. When QEMM386.SYS loads from the
  74. config.sys file, it then becomes responsible for controlling
  75. both the upper memory area, between 640 Kytes and l Mbyte, and
  76. the high memory area, the first 64 Kytes above l Mbyte.
  77.  
  78. Move device drivers and memory resident software to upper memory
  79. using the normal QEMM LOADHI commands. After loading
  80. QEMM386.SYS, the operating system kernel can still be moved to
  81. upper memory or high memory by loading the DR DOS HIDOS.SYS
  82. driver in the config.sys file right after the QEMM386.SYS
  83. driver. To move the kernel to upper memory, use the option
  84. /B=AUTO at the end of the HIDOS.SYS line in config.sys.  
  85.  
  86. To specify that the kernel should be placed in high memory,
  87. leaving more upper memory available for device drivers and
  88. memory resident programs, use the option /B=FFFF.
  89.  
  90. Depending on the configuration of DESQview, a gain in available
  91. memory might not be seen after loading HIDOS.SYS. DESQview uses
  92. the high memory for 63Kbytes of code that normally sit in
  93. conventional memory, while HIDOS.SYS moves approximately
  94. 45Kbytes into that area. Because the high memory area can be
  95. used by only one application at a time, experiment with /B=AUTO,
  96. /B=FFFF, or do not load HIDOS.SYS. These different options can
  97. be quickly tested using the DR DOS 6.0 question mark option (?)
  98. in config.sys. Placing a ? in front of any line in config.sys
  99. displays that line at boot-up and then you can select Y(es) or
  100. N(o) to execute that instruction. 
  101.  
  102. You might insert the following lines while experimenting:
  103.  
  104. ?"Do you want to avoid moving the KERNEL (Y/N)"GOTO SKIP 
  105. ?"Kernel in Upper Memory (Y/N)"  
  106. DEVICE=C:\DRDOS\HIDOS.SYS /B=AUTO 
  107. ?"Kernel in High Memory (Y/N)" 
  108. DEVICE=C:\DRDOS\HIDOS.SYS /B=FFFF  
  109. :SKIP
  110.  
  111. Refer to Chapter 11 of the DR DOS 6.0 User Guide for a full
  112. discussion of this feature.
  113.  
  114. If you are running QEMM386.SYS without DESQview, you should
  115. always move the kernel to high memory.
  116.